#ifndef __TABLE_LAYOUT_DATA_H__
#define __TABLE_LAYOUT_DATA_H__

#include "gofgame/common/ui/LayoutData.h"
#include "gofgame/common/Nullable.h"

using namespace gofgame::common::ui;
using namespace gofgame::common;

namespace gofgame {
	namespace common {
		namespace ui {
			class TableLayoutData : public LayoutData {
			public:
				TableLayoutData();

				Nullable<int> getRowIndex() const;
				void setRowIndex(Nullable<int> rowIndex);

				Nullable<int> getColIndex() const;
				void setColIndex(Nullable<int> colIndex);

				int getRowSpan() const;
				void setRowSpan(int rowSpan);

				int getColSpan() const;
				void setColSpan(int rowSpan);

			private:
				Nullable<int> rowIndex;
				Nullable<int> colIndex;
				int rowSpan;
				int colSpan;
			};
		}
	}
}

#endif //__TABLE_LAYOUT_DATA_H__
